#include <stdio.h>

int main() {
	int m = 2, n = 1, t;
	int i;
	double sum = 2;
	printf("%d/%d\n", m, n);
	for (i = 2; i <= 20; i++) {
		t = n;
		n = m;
		m = t + m;

		printf("%d/%d\n", m, n);
		sum = sum + m * 1.0 / n;
	}
	printf("%f", sum);
	return 0;

}